var MY_CHARACTER = (function() {
	function exchange(txt) {
		var ret = {};
		$.ajax({
	        type: "POST",
	        url: WeKnow.getRealPath() + "/wncrm_character.do/exchange",
	        dataType: "json",      
	        data: {
				txt: txt
			},
	        async: false,
	        success:function(data) {
	        	if (data.errcode == 0) {
	        		ret = data; // {pinyinTxt:'', wubiTxt: ''}
				}
	        }
		});
		return ret;
	}
	
	return {
		exchange: exchange
	}
})();